#ifndef _TCPCONNECTION_H_
#define _TCPCONNECTION_H_
//
#include <windows.h>
#include <winsock2.h>
#include "IConnection.h"
//
class TCPConnection : public IConnection {
public:
	TCPConnection(SOCKET sck);
	~TCPConnection();
	virtual bool send(const char* buffer, size_t& size);
	virtual bool receive(char* buffer, size_t& size);
private:
	SOCKET _sck;
	TCPConnection();
};
//
#endif
